home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / graphics / povray3 / povray3_060 / include / finish.inc < prev    next >
Text File  |  1997-12-12  |  1KB  |  45 lines

  1. #ifdef(Finish_Inc_Temp)
  2. // do nothing
  3. #else
  4. #declare Finish_Inc_Temp = version
  5. #version 3.0
  6.  
  7. #ifdef(View_POV_Include_Stack)
  8. #   debug "including finish.inc\n"
  9. #end
  10.  
  11. /*
  12.               Persistence of Vision Raytracer Version 3.0
  13.  
  14.              Some basic finishes.  Others may be defined in
  15.                   specific .inc files (see metals.inc).
  16.  
  17. */
  18.  
  19. // Dull creates a large, soft highlight on the object's surface
  20. #declare Dull = finish {specular 0.5 roughness 0.15}
  21.  
  22. // Shiny creates a small, tight highlight on the object's surface
  23. #declare Shiny = finish {specular 1 roughness 0.001}
  24.  
  25. // Phong highlights are less "realistic" than specular, but useful
  26. // for different effects.
  27. // Dull creates a large, soft highlight on the object's surface
  28. #declare Phong_Dull = finish {phong 0.5  phong_size 1}
  29.  
  30. // Shiny creates a small, tight highlight on the object's surface
  31. #declare Phong_Shiny = finish {phong 1  phong_size 200}
  32.  
  33. // Very shiny with very tight highlights and a fair amount of reflection
  34. #declare Glossy = finish {specular 1 roughness 0.0001 reflection 0.13}
  35. #declare Phong_Glossy = finish {phong 1 phong_size 300 reflection 0.13}
  36.  
  37. // Luminous for shadowless skies and light_sources.
  38. #declare Luminous = finish {ambient 1  diffuse 0}
  39.  
  40. // a perfectly mirrored finish with no highlights
  41. #declare Mirror = finish {ambient 0  diffuse 0 reflection 1}
  42.  
  43. #version Finish_Inc_Temp
  44. #end
  45.